import { $get } from '@js/request'
import { DefinceSchema } from '@src/components/Schema/DefinceSchema'

// 获取某个请求的答辩列表
export async function getDefinceRequest (caseid: string, claimid: string): Promise<DefinceSchema[]> {
  const res = await $get('/api/xd/defence', { caseid, claimid })
  return res.data
}
